package lzy.mapper;

import lzy.entity.QualityInspection;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface QualityInspectionMapper {
    List<QualityInspection> findAll();
    int insert(QualityInspection inspection);
    List<QualityInspection> findByBatchNo(String batchNo);
    List<QualityInspection> findByFilter(String batchNo, String inspectType, String startTime, String endTime);
    int countInLastDays(int days);
    int countAll();
    int countByResult(String result);
} 